import request from '@/utils/request'

//获取品牌列表数据
export const reqGetAllTrademarkListData = (page, limit) => {
    return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
}

//新增品牌
export const reqAddTrademark = (trademarkInfo) => {
    return request.post('/admin/product/baseTrademark/save', trademarkInfo)
}

//删除品牌
export const reqDeleteTrademark = (id) => {
    return request.delete(`/admin/product/baseTrademark/remove/${id}`)
}

//修改品牌
export const reqUpdateTrademark = (trademarkInfo) => {
    return request.put('/admin/product/baseTrademark/update', trademarkInfo)
}


